package com.gushi.util;

import com.google.gson.Gson;

public class gsJson {

    private static Gson mGson = new Gson();

    public static Object toObject(String json , Class classOfT){
        return  mGson.fromJson(json , classOfT) ;
    }

    public static <T> String toJson(T object) {
        return mGson.toJson(object);
    }
}
